﻿/**********************************************************************
 * @file   GUITimeHistoryACCELDialog.h
 * @brief  
 * @author guqingtao (15598887859@163.com)
 * @date   2025-09-25
 *********************************************************************/
#ifndef _GUITimeHistoryACCELDialog_H___
#define _GUITimeHistoryACCELDialog_H___

#include "GUIPostDialogAPI.h"
#include "FITK_Kernel/FITKCore/FITKAbstractGUI.h"

namespace Ui
{
    class GUITimeHistoryACCELDialog;
}
namespace Core
{
    class FITKActionOperator;
}

namespace GUI
{

    class GUIPostDialogAPI GUITimeHistoryACCELDialog : public Core::FITKDialog
    {
        Q_OBJECT
    public:

        GUITimeHistoryACCELDialog(Core::FITKActionOperator* oper,QWidget* parent = nullptr);

        virtual ~GUITimeHistoryACCELDialog();

    private:

        void init();

        void initTableWidget();

        bool checkData();

    private slots:
        /**
         * @brief 确定按钮事件
         * @author wangning (2185896382@qq.com)
         * @date 2025-05-28
         */
        void on_pushButton_OK_clicked();
        /**
         * @brief 取消按钮事件
         * @author wangning (2185896382@qq.com)
         * @date 2025-05-28
         */
        void on_pushButton_Cancle_clicked();
        /**
         * @brief    添加约束数据
         * @author   guqingtao (15598887859@163.com)
         * @date     2025-09-01
         */
        void on_pushButton_Add_clicked();
        /**
         * @brief    移除约束数据
         * @author   guqingtao (15598887859@163.com)
         * @date     2025-09-01
         */
        void on_pushButton_Remove_clicked();
    private:
        /**
         * @brief UI对象
         * @author wangning (2185896382@qq.com)
         * @date 2025-05-28
         */
        Ui::GUITimeHistoryACCELDialog* _ui{};
        Core::FITKActionOperator* _oper = nullptr;
    };
}

#endif

